import * as types from './mutation-types'

const mutations = {
    [types.SET_RESIZE](state, resize) {
        state.resize = resize
    },
    [types.BANNER_INDEX](state, bannerIndex) {
        state.bannerIndex = bannerIndex
    },
    [types.LAST_LOADING](state, lastLoading) {
        state.lastLoading = lastLoading
    }
}

export default mutations
